Termination w.r.t. Q of the following Term Rewriting System could be proven:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(x, y) → g1(x, x, y)
f(x, y) → g1(y, x, x)
f(x, y) → g2(x, y, y)
f(x, y) → g2(y, y, x)
g1(x, x, y) → h(x, y)
g1(y, x, x) → h(x, y)
g2(x, y, y) → h(x, y)
g2(y, y, x) → h(x, y)
h(x, x) → x

Q is empty.


QTRS
  ↳ Overlay + Local Confluence

Q restricted rewrite system:
The TRS R consists of the following rules:

f(x, y) → g1(x, x, y)
f(x, y) → g1(y, x, x)
f(x, y) → g2(x, y, y)
f(x, y) → g2(y, y, x)
g1(x, x, y) → h(x, y)
g1(y, x, x) → h(x, y)
g2(x, y, y) → h(x, y)
g2(y, y, x) → h(x, y)
h(x, x) → x

Q is empty.

The TRS is overlay and locally confluent. By [15] we can switch to innermost.

↳ QTRS
  ↳ Overlay + Local Confluence
QTRS
      ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

f(x, y) → g1(x, x, y)
f(x, y) → g1(y, x, x)
f(x, y) → g2(x, y, y)
f(x, y) → g2(y, y, x)
g1(x, x, y) → h(x, y)
g1(y, x, x) → h(x, y)
g2(x, y, y) → h(x, y)
g2(y, y, x) → h(x, y)
h(x, x) → x

The set Q consists of the following terms:

f(x0, x1)
g1(x0, x0, x1)
g1(x0, x1, x1)
g2(x0, x1, x1)
g2(x0, x0, x1)
h(x0, x0)


Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

G2(x, y, y) → H(x, y)
F(x, y) → G1(y, x, x)
F(x, y) → G1(x, x, y)
G1(x, x, y) → H(x, y)
G1(y, x, x) → H(x, y)
F(x, y) → G2(y, y, x)
F(x, y) → G2(x, y, y)
G2(y, y, x) → H(x, y)

The TRS R consists of the following rules:

f(x, y) → g1(x, x, y)
f(x, y) → g1(y, x, x)
f(x, y) → g2(x, y, y)
f(x, y) → g2(y, y, x)
g1(x, x, y) → h(x, y)
g1(y, x, x) → h(x, y)
g2(x, y, y) → h(x, y)
g2(y, y, x) → h(x, y)
h(x, x) → x

The set Q consists of the following terms:

f(x0, x1)
g1(x0, x0, x1)
g1(x0, x1, x1)
g2(x0, x1, x1)
g2(x0, x0, x1)
h(x0, x0)

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ Overlay + Local Confluence
    ↳ QTRS
      ↳ DependencyPairsProof
QDP
          ↳ EdgeDeletionProof

Q DP problem:
The TRS P consists of the following rules:

G2(x, y, y) → H(x, y)
F(x, y) → G1(y, x, x)
F(x, y) → G1(x, x, y)
G1(x, x, y) → H(x, y)
G1(y, x, x) → H(x, y)
F(x, y) → G2(y, y, x)
F(x, y) → G2(x, y, y)
G2(y, y, x) → H(x, y)

The TRS R consists of the following rules:

f(x, y) → g1(x, x, y)
f(x, y) → g1(y, x, x)
f(x, y) → g2(x, y, y)
f(x, y) → g2(y, y, x)
g1(x, x, y) → h(x, y)
g1(y, x, x) → h(x, y)
g2(x, y, y) → h(x, y)
g2(y, y, x) → h(x, y)
h(x, x) → x

The set Q consists of the following terms:

f(x0, x1)
g1(x0, x0, x1)
g1(x0, x1, x1)
g2(x0, x1, x1)
g2(x0, x0, x1)
h(x0, x0)

We have to consider all minimal (P,Q,R)-chains.
We deleted some edges using various graph approximations

↳ QTRS
  ↳ Overlay + Local Confluence
    ↳ QTRS
      ↳ DependencyPairsProof
        ↳ QDP
          ↳ EdgeDeletionProof
QDP
              ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

G2(x, y, y) → H(x, y)
F(x, y) → G1(x, x, y)
F(x, y) → G1(y, x, x)
G1(x, x, y) → H(x, y)
G1(y, x, x) → H(x, y)
F(x, y) → G2(x, y, y)
F(x, y) → G2(y, y, x)
G2(y, y, x) → H(x, y)

The TRS R consists of the following rules:

f(x, y) → g1(x, x, y)
f(x, y) → g1(y, x, x)
f(x, y) → g2(x, y, y)
f(x, y) → g2(y, y, x)
g1(x, x, y) → h(x, y)
g1(y, x, x) → h(x, y)
g2(x, y, y) → h(x, y)
g2(y, y, x) → h(x, y)
h(x, x) → x

The set Q consists of the following terms:

f(x0, x1)
g1(x0, x0, x1)
g1(x0, x1, x1)
g2(x0, x1, x1)
g2(x0, x0, x1)
h(x0, x0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 0 SCCs with 8 less nodes.